package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author Gallant
 * @create 2020-07-03 18:56
 */
public interface OrderSettingDao {
    public long findCountByOrderDate(Date date);
    public void updateNumberByOrderDate(OrderSetting orderSetting);
    public void add(OrderSetting orderSetting);
    public List<OrderSetting> getOrderSettingByMonth(Map map);
    public void editNumberByDate(OrderSetting orderSetting);
    public OrderSetting findByOrderDate(Date date);
    public void editReservationsByOrderDate(OrderSetting orderSetting);
}
